{% extends "base.html" %}

{% block title %}退出登录 - DRF 学习项目{% endblock %}

{% block content %}
<div class="auth-container">
    <div class="text-center mb-4">
        <h2 class="h4 mb-3">👋 退出登录</h2>
        <p class="text-muted">确定要退出登录吗？</p>
    </div>

    <form method="post">
        {% csrf_token %}

        <div class="d-grid gap-2">
            <button type="submit" class="btn btn-danger btn-lg">确认退出</button>
            <a href="javascript:history.back()" class="btn btn-secondary">取消</a>
        </div>
    </form>

    <div class="text-center mt-4">
        <small class="text-muted">
            退出后您将无法访问需要认证的 API 端点
        </small>
    </div>
</div>
{% endblock %}
